﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ggdll.GGMessages.Outgoing
{
    class GGMessagePing
    {
        private static int message_type = (int)GGMessageType.GG_PING;
        private int message_size = 0;

        public byte[] getBytes()
        {

            byte[] response = new byte[message_size + 8];
            System.Buffer.BlockCopy(BitConverter.GetBytes(message_type), 0, response, 0, 4); // Header
            System.Buffer.BlockCopy(BitConverter.GetBytes(message_size), 0, response, 4, 4); // Header

            return response;
        }
    }
}
